package br.unicentro.lynx.model.pojo;

public class Author {
	private Integer id_author;
	private String name_author;
	private String country_author;
	private String description_author;

	public Author() {

	}

	public Author(String name_author, String country_author,
			String description_author) {
		setNameAuthor(name_author);
		setCountryAuthor(country_author);
		setDescriptionAuthor(description_author);
	}

	public Author(Integer id_author, String name_author, String country_author,
			String description_author) {
		setIdAuthor(id_author);
		setNameAuthor(name_author);
		setCountryAuthor(country_author);
		setDescriptionAuthor(description_author);
	}

	public Integer getIdAuthor() {
		return id_author;
	}

	public void setIdAuthor(Integer id_author) {
		this.id_author = id_author;
	}

	public String getNameAuthor() {
		return name_author;
	}

	public void setNameAuthor(String name_author) {
		this.name_author = name_author;
	}

	public String getCountryAuthor() {
		return country_author;
	}

	public void setCountryAuthor(String country_author) {
		this.country_author = country_author;
	}

	public String getDescriptionAuthor() {
		return description_author;
	}

	public void setDescriptionAuthor(String description_author) {
		this.description_author = description_author;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Author [id_author=").append(id_author)
				.append(", name_author=").append(name_author)
				.append(", country_author=").append(country_author)
				.append(", description_author=").append(description_author)
				.append("]");
		return builder.toString();
	}
}
